* @widget: a #GtkWidget
*
* Determines if the widget should show a visible indication that
- * it has the global input focus. This is a convenience function for
- * use in ::draw handlers that takes into account whether focus
- * indication should currently be shown in the toplevel window of
- * @widget. See gtk_window_get_focus_visible() for more information
+ * it has the global input focus. This is a convenience function
+ * that takes into account whether focus indication should currently
+ * be shown in the toplevel window of @widget.
+ * See gtk_window_get_focus_visible() for more information
* about focus indication.
*
* To find out if the widget has the global input focus, use
return priv->receives_default;
}
-/**
+/*< private >
* gtk_widget_has_grab:
* @widget: a #GtkWidget
*
GDK_AVAILABLE_IN_ALL
gboolean gtk_widget_get_receives_default (GtkWidget *widget);
-GDK_AVAILABLE_IN_ALL
-gboolean gtk_widget_has_grab (GtkWidget *widget);
-
GDK_AVAILABLE_IN_ALL
gboolean gtk_widget_device_is_shadowed (GtkWidget *widget,
GdkDevice *device);
void _gtk_widget_set_has_grab (GtkWidget *widget,
gboolean has_grab);
+gboolean gtk_widget_has_grab (GtkWidget *widget);
void _gtk_widget_grab_notify (GtkWidget *widget,
gboolean was_grabbed);